﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace WeakScript
{
    public class WeakObject
    {
        public List<WeakVar> FieldVars;

        [DefaultValue(0)]
        public long LinkCount { get; set; }

        [DefaultValue(false)]
        public bool IsObservable { get; set; }

        public WeakObject()
        {
            FieldVars = new List<WeakVar>();
        }
    }
}
